package com.solver.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "solver.alioss")//配置属性类，读取配置文件（yml）
@Data
public class AliOssProperties {

    private String endpoint;
    private String accessKeyId;//自动进行驼峰-短横线命名转换
    private String accessKeySecret;
    private String bucketName;

}
